<template>
  <div style="width: 1000px;">
    <el-row>
      <el-col :span="4">
        <h2 style="margin-left: 5px;margin-bottom: 10px">消息</h2>
        <el-menu
            default-active="2"
            class="el-menu-vertical-demo"
            @open="handleOpen"
            @close="handleClose">
          <el-menu-item index="1">
            <i class="el-icon-menu"></i>
            <span slot="title">评论</span>
          </el-menu-item>
          <el-menu-item index="2">
            <i class="el-icon-apple"></i>
            <span slot="title">通知</span>
          </el-menu-item>
          <el-menu-item index="3">
            <i class="el-icon-document"></i>
            <span slot="title">私信</span>
          </el-menu-item>
        </el-menu>
      </el-col>
      <el-col :span="20">
        <el-card>
          <div>
            <el-button type="warning" plain>我的评论</el-button>
            <el-button type="warning" plain>他人的评论</el-button>
          </div>
        </el-card>

        <div style="margin-top: 20px">
          <el-card>
            <router-view/>
          </el-card>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {
      user: {}
    }
  },
  methods: {
    handleOpen() {

    },
    handleClose() {

    }
  }
}
</script>


<style scoped>
.el-menu {
  border: none;
}

.el-button--warning{

  border: none;
}

.el-button--warning.is-plain{
  color: black;
  border-radius: 20px;
}
</style>